﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.windows.builders.vo {
    import net.wooga.pets.interfaces.*;
    import net.wooga.pets.models.windows.builders.config.texts.*;
    import net.wooga.pets.models.windows.builders.config.autoclose.*;
    import net.wooga.pets.constants.windows.*;
    import net.wooga.pets.models.windows.builders.config.custom.*;

    public class WindowOptions implements IWindowOptions {

        private var _disableStage:Boolean;
        private var _priorityLevel:int;
        private var _stopTickModel:Boolean;
        private var _textsVo:IWindowsTextVo;
        private var _windowViewType:String;
        private var _autoClose:IWindowAutoClose;
        private var _fadeOutDelay:Number;
        private var _dictData:IStorage;

        public function WindowOptions(_arg1:String){
            this._windowViewType = _arg1;
        }
        public function set priorityLevel(_arg1:int):void{
            this._priorityLevel = _arg1;
        }
        public function get priorityLevel():int{
            return (((this._priorityLevel) || (WindowsPriority.STANDARD)));
        }
        public function get windowViewType():String{
            return (this._windowViewType);
        }
        public function get stopGlobalClock():Boolean{
            return (this._stopTickModel);
        }
        public function set stopGlobalClock(_arg1:Boolean):void{
            this._stopTickModel = _arg1;
        }
        public function get disableStage():Boolean{
            return (this._disableStage);
        }
        public function set disableStage(_arg1:Boolean):void{
            this._disableStage = _arg1;
        }
        public function set textValues(_arg1:IWindowsTextVo):void{
            this._textsVo = _arg1;
        }
        public function get textValues():IWindowsTextVo{
            return ((this._textsVo = ((this._textsVo) || (new WindowsTextStringsVo()))));
        }
        public function set dataHash(_arg1:IStorage):void{
            _arg1 = this._dictData;
        }
        public function get dataHash():IStorage{
            return ((this._dictData = ((this._dictData) || (new WindowDataHash()))));
        }
        public function set autoClose(_arg1:IWindowAutoClose):void{
            this._autoClose = _arg1;
        }
        public function get autoClose():IWindowAutoClose{
            return (this._autoClose);
        }
        public function set fadeOutDelay(_arg1:Number):void{
            this._fadeOutDelay = _arg1;
        }
        public function get fadeOutDelay():Number{
            return (this._fadeOutDelay);
        }
        public function destroy():void{
            var _local1:Array;
            var _local2:*;
            if (this.autoClose){
                this.autoClose.interrupt();
                this.autoClose = null;
            };
            if (((this._dictData) && (!(this._dictData.isEmpty)))){
                _local1 = this._dictData.values;
                for each (_local2 in _local1) {
                    this._dictData.remove(_local2);
                };
            };
            if (this._textsVo){
                this._textsVo = null;
            };
        }

    }
}//package net.wooga.pets.models.windows.builders.vo 
